import request from "@/utils/request";

// 入职管理列表
export function onboardingList(params) {
  return request({
    url: "/system/info/pageList",
    method: "get",
    params,
  });
}
// 入职管理列表
export function onboardingcancel(data) {
  return request({
    url: `/system/info/cancel`,
    method: "post",
    data,
  });
}
// 入职管理查看
export function onboardingInfo(params) {
  return request({
    url: `/system/info/getDetailById?id=${params}`,
    method: "get",
  });
}
// // 入职管理保存
export function onboardingSave(data) {
  return request({
    url: '/system/info/save',
    method: "post",
    data
  });
}
// 入职管理提交
export function onboardingSubmit(data) {
  return request({
    url: '/system/info/entryTransact',
    method: "post",
    data
  });
}